<?php

require_once("../classes/Student.php");

$student = new Student;
$student->register($_POST['fname'],$_POST['lname'],$_POST['username'],$_POST['password'],$_POST['gender']);

header('location: ../index.php');

?>